home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4196 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.1 KB  |  50 lines

  1. Path: news.eunet.fi!fipnet!kone!jsaarinen
  2. Newsgroups: comp.sys.amiga.programmer
  3. X-NewsReader: IntuiNews 1.2b (31.7.94)
  4. References: <38232552@kone.fipnet.fi> <4gh0gt$6ll@maureen.teleport.com>
  5. From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
  6. Date: Sun, 25 Feb 96 15:06:59 UT
  7. Comments: Illegal date header - new date added by quicknews
  8. X-Original-Date: Sun, 25 Feb 96 12:59:21 
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: binary
  12. Subject: Re: Bitfieldinsert?
  13. Message-ID: <38232647@kone.fipnet.fi>
  14.  
  15.  
  16. >  Trying to find correct gouraud shading code (Wich 'nobody' seem to do)
  17. >  I saw a post saying that he can do gouraud on a PC at .25 cycle per
  18. >  pixel. So I guess this as been done already , and you can probably get 
  19. > áthe source code .. but then its for the x86 :)
  20.  
  21. Hmm, any ideas how? That would be 4 pixels per one instruction.. 
  22.  
  23. >  Well, it would be a ham6 screen... the rendering is done in interleaved
  24. >  componant: line only 4bit red, line 1 only 4bit of green, line 2 4bit
  25. >  blue, line 3 4bit red etc... then this is c2p in the lower 4planne of
  26. >  a 256x300 interlaced screen (only 256x150 4bit is c2p per feild.)
  27. >  c2p a 256x150 screen 4bit take ~11ms on a 030 (cpu only).
  28.  
  29. Wow, some code please.. On the other hand, I am not 100% sure
  30. if the true color mode has actually some use. Can a fast 24b
  31. to HAM8 conversion be done? A long per pixel would be nice..
  32.  
  33. >  Have you seen Transgression2 on the PC? they use vertical componant
  34. >  interleave ... ok they have 64shade per componant, OCS only as 16.
  35. >  But you can get dithering for free.
  36.  
  37. The ray tracing 64k intro? 
  38.  
  39. >  I think I was talking about bfset and small triangle for flat shading.
  40. >  You would need bfins on each plane to copy the gouraud data, I think 
  41. >  it would be dead slow. But a solution using and/or and moves with a
  42. >  plannar version of the lighting cube would work better (Just thinking)
  43. >  basicly 'blitting' triangles, where the mask is dynamicly created. 
  44.  
  45. Yep.
  46.  
  47. --                               _
  48. a Stellar programmer          _ //
  49. "Amiga - back for the future" \X/
  50.